import { ref } from 'https://lib.baomitu.com/vue/3.2.31/vue.esm-browser.js'

export default {
    setup() {
        const count = ref(0)
        function increment() {
            count.value++
        }
        return {
            count,
            increment
        }
    },
    template: `<button @click="increment">count is {{ count }}</button>`
}